@charset "utf-8";
$scale: 1;
$unit: 1px;

@function size($n) {
  @return $n * $scale * $unit;
}

$baseFontSize: 12;
@function pxToRem($px) {
  @return $px / $baseFontSize * 1rem;
}

.bottom-line {
  position: relative;
  &::after {
    position: absolute;
    left: 0;
    right: 0;
    content: " ";
    height: size(1);
    transform: scaleY(0.2);
    bottom: 0;
    background: #9e9e9e;
    width: 100%;
  }
}

.top-line {
  position: relative;
  &::before {
    position: absolute;
    left: 0;
    right: 0;
    content: " ";
    height: size(1);
    transform: scaleY(0.5);
    top: 0;
    background: #9e9e9e;
    width: 100%;
  }
}
.mgl-4{
  margin-left: pxToRem(4);
}
.white{
  color: #FFF;
}

.red {
  color:#D42922;
}
.green {
  color: #00AE00;
}
.normal {
  color: #999999;
}
.background-red {
  background:#D42922;
  color: #FFFFFF;
}
.background-green {
  background: #00AE00;
  color: #FFFFFF;
}
.background-normal {
  background: #333333;
  color: #FFFFFF;
}

.bg-white{
  background: #FFFFFF;
}


.margin-red{
  color: #FFF;
  background: #D42922;
  border-radius: size(4);
  padding: size(8) 0;
  width: 80%;
  display: inline-block;
}

.margin-normal{
  color: #FFF;
  background: #999999;
  border-radius: size(4);
  padding: size(8) 0;
  width: 80%;
  display: inline-block;
}

.margin-green{
  color: #FFF;
  background: #00AE00;
  padding: size(8) 0;
  border-radius: size(4);
  width: 80%;
  display: inline-block;
}

.bg-red{
  background: #D42922;
}
.bg-green {
  background: #00AE00;
}
